from typing import Literal

ecodes: dict[str, int]
keys: dict[int, str | list[str]]
bytype: dict[int, dict[int, str | list[str]]]

KEY: dict[int, str | list[str]]
ABS: dict[int, str | list[str]]
REL: dict[int, str | list[str]]
SW: dict[int, str | list[str]]
MSC: dict[int, str | list[str]]
LED: dict[int, str | list[str]]
BTN: dict[int, str | list[str]]
REP: dict[int, str | list[str]]
SND: dict[int, str | list[str]]
ID: dict[int, str | list[str]]
EV: dict[int, str | list[str]]
BUS: dict[int, str | list[str]]
SYN: dict[int, str | list[str]]
FF_STATUS: dict[int, str | list[str]]
FF: dict[int, str | list[str]]
INPUT_PROP: dict[int, str | list[str]]

EV_SYN: Literal[0]
EV_KEY: Literal[1]
EV_REL: Literal[2]
EV_ABS: Literal[3]
EV_MSC: Literal[4]
EV_SW: Literal[5]
EV_LED: Literal[17]
EV_SND: Literal[18]
EV_REP: Literal[20]
EV_FF: Literal[21]
EV_PWR: Literal[22]
EV_FF_STATUS: Literal[23]
EV_MAX: Literal[31]
EV_CNT: Literal[32]

KEY_RESERVED: int
KEY_ESC: int
KEY_1: int
KEY_2: int
KEY_3: int
KEY_4: int
KEY_5: int
KEY_6: int
KEY_7: int
KEY_8: int
KEY_9: int
KEY_0: int
KEY_MINUS: int
KEY_EQUAL: int
KEY_BACKSPACE: int
KEY_TAB: int
KEY_Q: int
KEY_W: int
KEY_E: int
KEY_R: int
KEY_T: int
KEY_Y: int
KEY_U: int
KEY_I: int
KEY_O: int
KEY_P: int
KEY_LEFTBRACE: int
KEY_RIGHTBRACE: int
KEY_ENTER: int
KEY_LEFTCTRL: int
KEY_A: int
KEY_S: int
KEY_D: int
KEY_F: int
KEY_G: int
KEY_H: int
KEY_J: int
KEY_K: int
KEY_L: int
KEY_SEMICOLON: int
KEY_APOSTROPHE: int
KEY_GRAVE: int
KEY_LEFTSHIFT: int
KEY_BACKSLASH: int
KEY_Z: int
KEY_X: int
KEY_C: int
KEY_V: int
KEY_B: int
KEY_N: int
KEY_M: int
KEY_COMMA: int
KEY_DOT: int
KEY_SLASH: int
KEY_RIGHTSHIFT: int
KEY_KPASTERISK: int
KEY_LEFTALT: int
KEY_SPACE: int
KEY_CAPSLOCK: int
KEY_F1: int
KEY_F2: int
KEY_F3: int
KEY_F4: int
KEY_F5: int
KEY_F6: int
KEY_F7: int
KEY_F8: int
KEY_F9: int
KEY_F10: int
KEY_NUMLOCK: int
KEY_SCROLLLOCK: int
KEY_KP7: int
KEY_KP8: int
KEY_KP9: int
KEY_KPMINUS: int
KEY_KP4: int
KEY_KP5: int
KEY_KP6: int
KEY_KPPLUS: int
KEY_KP1: int
KEY_KP2: int
KEY_KP3: int
KEY_KP0: int
KEY_KPDOT: int
KEY_ZENKAKUHANKAKU: int
KEY_102ND: int
KEY_F11: int
KEY_F12: int
KEY_RO: int
KEY_KATAKANA: int
KEY_HIRAGANA: int
KEY_HENKAN: int
KEY_KATAKANAHIRAGANA: int
KEY_MUHENKAN: int
KEY_KPJPCOMMA: int
KEY_KPENTER: int
KEY_RIGHTCTRL: int
KEY_KPSLASH: int
KEY_SYSRQ: int
KEY_RIGHTALT: int
KEY_LINEFEED: int
KEY_HOME: int
KEY_UP: int
KEY_PAGEUP: int
KEY_LEFT: int
KEY_RIGHT: int
KEY_END: int
KEY_DOWN: int
KEY_PAGEDOWN: int
KEY_INSERT: int
KEY_DELETE: int
KEY_MACRO: int
KEY_MUTE: int
KEY_VOLUMEDOWN: int
KEY_VOLUMEUP: int
KEY_POWER: int
KEY_KPEQUAL: int
KEY_KPPLUSMINUS: int
KEY_PAUSE: int
KEY_SCALE: int
KEY_KPCOMMA: int
KEY_HANGEUL: int
KEY_HANGUEL: int
KEY_HANJA: int
KEY_YEN: int
KEY_LEFTMETA: int
KEY_RIGHTMETA: int
KEY_COMPOSE: int
KEY_STOP: int
KEY_AGAIN: int
KEY_PROPS: int
KEY_UNDO: int
KEY_FRONT: int
KEY_COPY: int
KEY_OPEN: int
KEY_PASTE: int
KEY_FIND: int
KEY_CUT: int
KEY_HELP: int
KEY_MENU: int
KEY_CALC: int
KEY_SETUP: int
KEY_SLEEP: int
KEY_WAKEUP: int
KEY_FILE: int
KEY_SENDFILE: int
KEY_DELETEFILE: int
KEY_XFER: int
KEY_PROG1: int
KEY_PROG2: int
KEY_WWW: int
KEY_MSDOS: int
KEY_COFFEE: int
KEY_SCREENLOCK: int
KEY_ROTATE_DISPLAY: int
KEY_DIRECTION: int
KEY_CYCLEWINDOWS: int
KEY_MAIL: int
KEY_BOOKMARKS: int
KEY_COMPUTER: int
KEY_BACK: int
KEY_FORWARD: int
KEY_CLOSECD: int
KEY_EJECTCD: int
KEY_EJECTCLOSECD: int
KEY_NEXTSONG: int
KEY_PLAYPAUSE: int
KEY_PREVIOUSSONG: int
KEY_STOPCD: int
KEY_RECORD: int
KEY_REWIND: int
KEY_PHONE: int
KEY_ISO: int
KEY_CONFIG: int
KEY_HOMEPAGE: int
KEY_REFRESH: int
KEY_EXIT: int
KEY_MOVE: int
KEY_EDIT: int
KEY_SCROLLUP: int
KEY_SCROLLDOWN: int
KEY_KPLEFTPAREN: int
KEY_KPRIGHTPAREN: int
KEY_NEW: int
KEY_REDO: int
KEY_F13: int
KEY_F14: int
KEY_F15: int
KEY_F16: int
KEY_F17: int
KEY_F18: int
KEY_F19: int
KEY_F20: int
KEY_F21: int
KEY_F22: int
KEY_F23: int
KEY_F24: int
KEY_PLAYCD: int
KEY_PAUSECD: int
KEY_PROG3: int
KEY_PROG4: int
KEY_ALL_APPLICATIONS: int
KEY_DASHBOARD: int
KEY_SUSPEND: int
KEY_CLOSE: int
KEY_PLAY: int
KEY_FASTFORWARD: int
KEY_BASSBOOST: int
KEY_PRINT: int
KEY_HP: int
KEY_CAMERA: int
KEY_SOUND: int
KEY_QUESTION: int
KEY_EMAIL: int
KEY_CHAT: int
KEY_SEARCH: int
KEY_CONNECT: int
KEY_FINANCE: int
KEY_SPORT: int
KEY_SHOP: int
KEY_ALTERASE: int
KEY_CANCEL: int
KEY_BRIGHTNESSDOWN: int
KEY_BRIGHTNESSUP: int
KEY_MEDIA: int
KEY_SWITCHVIDEOMODE: int
KEY_KBDILLUMTOGGLE: int
KEY_KBDILLUMDOWN: int
KEY_KBDILLUMUP: int
KEY_SEND: int
KEY_REPLY: int
KEY_FORWARDMAIL: int
KEY_SAVE: int
KEY_DOCUMENTS: int
KEY_BATTERY: int
KEY_BLUETOOTH: int
KEY_WLAN: int
KEY_UWB: int
KEY_UNKNOWN: int
KEY_VIDEO_NEXT: int
KEY_VIDEO_PREV: int
KEY_BRIGHTNESS_CYCLE: int
KEY_BRIGHTNESS_AUTO: int
KEY_BRIGHTNESS_ZERO: int
KEY_DISPLAY_OFF: int
KEY_WWAN: int
KEY_WIMAX: int
KEY_RFKILL: int
KEY_MICMUTE: int
KEY_OK: int
KEY_SELECT: int
KEY_GOTO: int
KEY_CLEAR: int
KEY_POWER2: int
KEY_OPTION: int
KEY_INFO: int
KEY_TIME: int
KEY_VENDOR: int
KEY_ARCHIVE: int
KEY_PROGRAM: int
KEY_CHANNEL: int
KEY_FAVORITES: int
KEY_EPG: int
KEY_PVR: int
KEY_MHP: int
KEY_LANGUAGE: int
KEY_TITLE: int
KEY_SUBTITLE: int
KEY_ANGLE: int
KEY_FULL_SCREEN: int
KEY_ZOOM: int
KEY_MODE: int
KEY_KEYBOARD: int
KEY_ASPECT_RATIO: int
KEY_SCREEN: int
KEY_PC: int
KEY_TV: int
KEY_TV2: int
KEY_VCR: int
KEY_VCR2: int
KEY_SAT: int
KEY_SAT2: int
KEY_CD: int
KEY_TAPE: int
KEY_RADIO: int
KEY_TUNER: int
KEY_PLAYER: int
KEY_TEXT: int
KEY_DVD: int
KEY_AUX: int
KEY_MP3: int
KEY_AUDIO: int
KEY_VIDEO: int
KEY_DIRECTORY: int
KEY_LIST: int
KEY_MEMO: int
KEY_CALENDAR: int
KEY_RED: int
KEY_GREEN: int
KEY_YELLOW: int
KEY_BLUE: int
KEY_CHANNELUP: int
KEY_CHANNELDOWN: int
KEY_FIRST: int
KEY_LAST: int
KEY_AB: int
KEY_NEXT: int
KEY_RESTART: int
KEY_SLOW: int
KEY_SHUFFLE: int
KEY_BREAK: int
KEY_PREVIOUS: int
KEY_DIGITS: int
KEY_TEEN: int
KEY_TWEN: int
KEY_VIDEOPHONE: int
KEY_GAMES: int
KEY_ZOOMIN: int
KEY_ZOOMOUT: int
KEY_ZOOMRESET: int
KEY_WORDPROCESSOR: int
KEY_EDITOR: int
KEY_SPREADSHEET: int
KEY_GRAPHICSEDITOR: int
KEY_PRESENTATION: int
KEY_DATABASE: int
KEY_NEWS: int
KEY_VOICEMAIL: int
KEY_ADDRESSBOOK: int
KEY_MESSENGER: int
KEY_DISPLAYTOGGLE: int
KEY_BRIGHTNESS_TOGGLE: int
KEY_SPELLCHECK: int
KEY_LOGOFF: int
KEY_DOLLAR: int
KEY_EURO: int
KEY_FRAMEBACK: int
KEY_FRAMEFORWARD: int
KEY_CONTEXT_MENU: int
KEY_MEDIA_REPEAT: int
KEY_10CHANNELSUP: int
KEY_10CHANNELSDOWN: int
KEY_IMAGES: int
KEY_NOTIFICATION_CENTER: int
KEY_PICKUP_PHONE: int
KEY_HANGUP_PHONE: int
KEY_DEL_EOL: int
KEY_DEL_EOS: int
KEY_INS_LINE: int
KEY_DEL_LINE: int
KEY_FN: int
KEY_FN_ESC: int
KEY_FN_F1: int
KEY_FN_F2: int
KEY_FN_F3: int
KEY_FN_F4: int
KEY_FN_F5: int
KEY_FN_F6: int
KEY_FN_F7: int
KEY_FN_F8: int
KEY_FN_F9: int
KEY_FN_F10: int
KEY_FN_F11: int
KEY_FN_F12: int
KEY_FN_1: int
KEY_FN_2: int
KEY_FN_D: int
KEY_FN_E: int
KEY_FN_F: int
KEY_FN_S: int
KEY_FN_B: int
KEY_FN_RIGHT_SHIFT: int
KEY_BRL_DOT1: int
KEY_BRL_DOT2: int
KEY_BRL_DOT3: int
KEY_BRL_DOT4: int
KEY_BRL_DOT5: int
KEY_BRL_DOT6: int
KEY_BRL_DOT7: int
KEY_BRL_DOT8: int
KEY_BRL_DOT9: int
KEY_BRL_DOT10: int
KEY_NUMERIC_0: int
KEY_NUMERIC_1: int
KEY_NUMERIC_2: int
KEY_NUMERIC_3: int
KEY_NUMERIC_4: int
KEY_NUMERIC_5: int
KEY_NUMERIC_6: int
KEY_NUMERIC_7: int
KEY_NUMERIC_8: int
KEY_NUMERIC_9: int
KEY_NUMERIC_STAR: int
KEY_NUMERIC_POUND: int
KEY_NUMERIC_A: int
KEY_NUMERIC_B: int
KEY_NUMERIC_C: int
KEY_NUMERIC_D: int
KEY_CAMERA_FOCUS: int
KEY_WPS_BUTTON: int
KEY_TOUCHPAD_TOGGLE: int
KEY_TOUCHPAD_ON: int
KEY_TOUCHPAD_OFF: int
KEY_CAMERA_ZOOMIN: int
KEY_CAMERA_ZOOMOUT: int
KEY_CAMERA_UP: int
KEY_CAMERA_DOWN: int
KEY_CAMERA_LEFT: int
KEY_CAMERA_RIGHT: int
KEY_ATTENDANT_ON: int
KEY_ATTENDANT_OFF: int
KEY_ATTENDANT_TOGGLE: int
KEY_LIGHTS_TOGGLE: int
KEY_ALS_TOGGLE: int
KEY_ROTATE_LOCK_TOGGLE: int
KEY_REFRESH_RATE_TOGGLE: int
KEY_BUTTONCONFIG: int
KEY_TASKMANAGER: int
KEY_JOURNAL: int
KEY_CONTROLPANEL: int
KEY_APPSELECT: int
KEY_SCREENSAVER: int
KEY_VOICECOMMAND: int
KEY_ASSISTANT: int
KEY_KBD_LAYOUT_NEXT: int
KEY_EMOJI_PICKER: int
KEY_DICTATE: int
KEY_CAMERA_ACCESS_ENABLE: int
KEY_CAMERA_ACCESS_DISABLE: int
KEY_CAMERA_ACCESS_TOGGLE: int
KEY_ACCESSIBILITY: int
KEY_DO_NOT_DISTURB: int
KEY_BRIGHTNESS_MIN: int
KEY_BRIGHTNESS_MAX: int
KEY_KBDINPUTASSIST_PREV: int
KEY_KBDINPUTASSIST_NEXT: int
KEY_KBDINPUTASSIST_PREVGROUP: int
KEY_KBDINPUTASSIST_NEXTGROUP: int
KEY_KBDINPUTASSIST_ACCEPT: int
KEY_KBDINPUTASSIST_CANCEL: int
KEY_RIGHT_UP: int
KEY_RIGHT_DOWN: int
KEY_LEFT_UP: int
KEY_LEFT_DOWN: int
KEY_ROOT_MENU: int
KEY_MEDIA_TOP_MENU: int
KEY_NUMERIC_11: int
KEY_NUMERIC_12: int
KEY_AUDIO_DESC: int
KEY_3D_MODE: int
KEY_NEXT_FAVORITE: int
KEY_STOP_RECORD: int
KEY_PAUSE_RECORD: int
KEY_VOD: int
KEY_UNMUTE: int
KEY_FASTREVERSE: int
KEY_SLOWREVERSE: int
KEY_DATA: int
KEY_ONSCREEN_KEYBOARD: int
KEY_PRIVACY_SCREEN_TOGGLE: int
KEY_SELECTIVE_SCREENSHOT: int
KEY_NEXT_ELEMENT: int
KEY_PREVIOUS_ELEMENT: int
KEY_AUTOPILOT_ENGAGE_TOGGLE: int
KEY_MARK_WAYPOINT: int
KEY_SOS: int
KEY_NAV_CHART: int
KEY_FISHING_CHART: int
KEY_SINGLE_RANGE_RADAR: int
KEY_DUAL_RANGE_RADAR: int
KEY_RADAR_OVERLAY: int
KEY_TRADITIONAL_SONAR: int
KEY_CLEARVU_SONAR: int
KEY_SIDEVU_SONAR: int
KEY_NAV_INFO: int
KEY_BRIGHTNESS_MENU: int
KEY_MACRO1: int
KEY_MACRO2: int
KEY_MACRO3: int
KEY_MACRO4: int
KEY_MACRO5: int
KEY_MACRO6: int
KEY_MACRO7: int
KEY_MACRO8: int
KEY_MACRO9: int
KEY_MACRO10: int
KEY_MACRO11: int
KEY_MACRO12: int
KEY_MACRO13: int
KEY_MACRO14: int
KEY_MACRO15: int
KEY_MACRO16: int
KEY_MACRO17: int
KEY_MACRO18: int
KEY_MACRO19: int
KEY_MACRO20: int
KEY_MACRO21: int
KEY_MACRO22: int
KEY_MACRO23: int
KEY_MACRO24: int
KEY_MACRO25: int
KEY_MACRO26: int
KEY_MACRO27: int
KEY_MACRO28: int
KEY_MACRO29: int
KEY_MACRO30: int
KEY_MACRO_RECORD_START: int
KEY_MACRO_RECORD_STOP: int
KEY_MACRO_PRESET_CYCLE: int
KEY_MACRO_PRESET1: int
KEY_MACRO_PRESET2: int
KEY_MACRO_PRESET3: int
KEY_KBD_LCD_MENU1: int
KEY_KBD_LCD_MENU2: int
KEY_KBD_LCD_MENU3: int
KEY_KBD_LCD_MENU4: int
KEY_KBD_LCD_MENU5: int
KEY_MIN_INTERESTING: int

BTN_MISC: int
BTN_0: int
BTN_1: int
BTN_2: int
BTN_3: int
BTN_4: int
BTN_5: int
BTN_6: int
BTN_7: int
BTN_8: int
BTN_9: int
BTN_MOUSE: int
BTN_LEFT: int
BTN_RIGHT: int
BTN_MIDDLE: int
BTN_SIDE: int
BTN_EXTRA: int
BTN_FORWARD: int
BTN_BACK: int
BTN_TASK: int
BTN_JOYSTICK: int
BTN_TRIGGER: int
BTN_THUMB: int
BTN_THUMB2: int
BTN_TOP: int
BTN_TOP2: int
BTN_PINKIE: int
BTN_BASE: int
BTN_BASE2: int
BTN_BASE3: int
BTN_BASE4: int
BTN_BASE5: int
BTN_BASE6: int
BTN_DEAD: int
BTN_GAMEPAD: int
BTN_SOUTH: int
BTN_A: int
BTN_EAST: int
BTN_B: int
BTN_C: int
BTN_NORTH: int
BTN_X: int
BTN_WEST: int
BTN_Y: int
BTN_Z: int
BTN_TL: int
BTN_TR: int
BTN_TL2: int
BTN_TR2: int
BTN_SELECT: int
BTN_START: int
BTN_MODE: int
BTN_THUMBL: int
BTN_THUMBR: int
BTN_DIGI: int
BTN_TOOL_PEN: int
BTN_TOOL_RUBBER: int
BTN_TOOL_BRUSH: int
BTN_TOOL_PENCIL: int
BTN_TOOL_AIRBRUSH: int
BTN_TOOL_FINGER: int
BTN_TOOL_MOUSE: int
BTN_TOOL_LENS: int
BTN_TOOL_QUINTTAP: int
BTN_STYLUS3: int
BTN_TOUCH: int
BTN_STYLUS: int
BTN_STYLUS2: int
BTN_TOOL_DOUBLETAP: int
BTN_TOOL_TRIPLETAP: int
BTN_TOOL_QUADTAP: int
BTN_WHEEL: int
BTN_GEAR_DOWN: int
BTN_GEAR_UP: int
BTN_DPAD_UP: int
BTN_DPAD_DOWN: int
BTN_DPAD_LEFT: int
BTN_DPAD_RIGHT: int
BTN_TRIGGER_HAPPY: int
BTN_TRIGGER_HAPPY1: int
BTN_TRIGGER_HAPPY2: int
BTN_TRIGGER_HAPPY3: int
BTN_TRIGGER_HAPPY4: int
BTN_TRIGGER_HAPPY5: int
BTN_TRIGGER_HAPPY6: int
BTN_TRIGGER_HAPPY7: int
BTN_TRIGGER_HAPPY8: int
BTN_TRIGGER_HAPPY9: int
BTN_TRIGGER_HAPPY10: int
BTN_TRIGGER_HAPPY11: int
BTN_TRIGGER_HAPPY12: int
BTN_TRIGGER_HAPPY13: int
BTN_TRIGGER_HAPPY14: int
BTN_TRIGGER_HAPPY15: int
BTN_TRIGGER_HAPPY16: int
BTN_TRIGGER_HAPPY17: int
BTN_TRIGGER_HAPPY18: int
BTN_TRIGGER_HAPPY19: int
BTN_TRIGGER_HAPPY20: int
BTN_TRIGGER_HAPPY21: int
BTN_TRIGGER_HAPPY22: int
BTN_TRIGGER_HAPPY23: int
BTN_TRIGGER_HAPPY24: int
BTN_TRIGGER_HAPPY25: int
BTN_TRIGGER_HAPPY26: int
BTN_TRIGGER_HAPPY27: int
BTN_TRIGGER_HAPPY28: int
BTN_TRIGGER_HAPPY29: int
BTN_TRIGGER_HAPPY30: int
BTN_TRIGGER_HAPPY31: int
BTN_TRIGGER_HAPPY32: int
BTN_TRIGGER_HAPPY33: int
BTN_TRIGGER_HAPPY34: int
BTN_TRIGGER_HAPPY35: int
BTN_TRIGGER_HAPPY36: int
BTN_TRIGGER_HAPPY37: int
BTN_TRIGGER_HAPPY38: int
BTN_TRIGGER_HAPPY39: int
BTN_TRIGGER_HAPPY40: int

ABS_X: int
ABS_Y: int
ABS_Z: int
ABS_RX: int
ABS_RY: int
ABS_RZ: int
ABS_THROTTLE: int
ABS_RUDDER: int
ABS_WHEE: int
ABS_GAS: int
ABS_BRAKE: int
ABS_HAT0X: int
ABS_HAT0Y: int
ABS_HAT1X: int
ABS_HAT1Y: int
ABS_HAT2X: int
ABS_HAT2Y: int
ABS_HAT3X: int
ABS_HAT3Y: int
ABS_PRESSURE: int
ABS_DISTANCE: int
ABS_TILT_X: int
ABS_TILT_Y: int
ABS_TOOL_WIDTH: int
ABS_VOLUME: int
ABS_PROFILE: int
ABS_MISC: int
ABS_RESERVED: int
ABS_MT_SLOT: int
ABS_MT_TOUCH_MAJOR: int
ABS_MT_TOUCH_MINOR: int
ABS_MT_WIDTH_MAJOR: int
ABS_MT_WIDTH_MINOR: int
ABS_MT_ORIENTATION: int
ABS_MT_POSITION_X: int
ABS_MT_POSITION_Y: int
ABS_MT_TOOL_TYPE: int
ABS_MT_BLOB_ID: int
ABS_MT_TRACKING_ID: int
ABS_MT_PRESSURE: int
ABS_MT_DISTANCE: int
ABS_MT_TOOL_X: int
ABS_MT_TOOL_Y: int
ABS_MAX: int
ABS_CNT: int
